package com.zy.gpdemo.domain;

import java.sql.Timestamp;

public class PrintTask {
	String id="-1";
	private String messageId;
	private String warehouseCode; // 平台编码
	private String stockCode; // 任务区间
	private int status;
	private Timestamp lastTime;
	private String appRoot;
	private String reportName;
	private String reportParams;
	private int printNums;

	public PrintTask() {}
	
	public PrintTask(String messageId, String warehouseCode, String stockCode, int status, Timestamp lastTime,
			String appRoot, String reportName, String reportParams, int printNums) {
		super();
		this.messageId = messageId;
		this.warehouseCode = warehouseCode;
		this.stockCode = stockCode;
		this.status = status;
		this.lastTime = lastTime;
		this.appRoot = appRoot;
		this.reportName = reportName;
		this.reportParams = reportParams;
		this.printNums = printNums;
	}
	
	public PrintTask(PrintTask printTask) {
		super();
		this.id = printTask.id;
		this.messageId = printTask.messageId;
		this.warehouseCode = printTask.warehouseCode;
		this.stockCode = printTask.stockCode;
		this.status = printTask.status;
		this.lastTime = printTask.lastTime;
		this.appRoot = printTask.appRoot;
		this.reportName = printTask.reportName;
		this.reportParams = printTask.reportParams;
		this.printNums = printTask.printNums;
	}

	
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getReportParams() {
		return reportParams;
	}



	public void setReportParams(String reportParams) {
		this.reportParams = reportParams;
	}



	public String getMessageId() {
		return messageId;
	}

	public void setMessageId(String messageId) {
		this.messageId = messageId;
	}

	public String getWarehouseCode() {
		return warehouseCode;
	}

	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}

	public String getStockCode() {
		return stockCode;
	}

	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Timestamp getLastTime() {
		return lastTime;
	}

	public void setLastTime(Timestamp lastTime) {
		this.lastTime = lastTime;
	}

	public String getAppRoot() {
		return appRoot;
	}

	public void setAppRoot(String appRoot) {
		this.appRoot = appRoot;
	}

	public String getReportName() {
		return reportName;
	}

	public void setReportName(String reportName) {
		this.reportName = reportName;
	}

	public int getPrintNums() {
		return printNums;
	}

	public void setPrintNums(int printNums) {
		this.printNums = printNums;
	}

	
}
